package cn.com.idmy.auth.session;

public class Test {
    public static void main(String[] args) {
        /*Request request = new RequestForServlet();
        Response response = new ResponseForServlet();
        Storage storage = new StorageForServlet();
        ContextDefaultImpl.setContext("中台", request, response, storage);

        GlobalConfig globalConfig = new GlobalConfig();
        CookieConfig cookieConfig = new CookieConfig();
        CookieManager cm = new CookieManager(cookieConfig);

        SessionManager sm = new SessionManager();
        sm.setSessionConfig(new SessionConfig());
        sm.init();

        SessionTokenManager tm = new SessionTokenManager();
        tm.setGlobalConfig(globalConfig);
        tm.setCookieManager(cm);
        tm.setSessionManager(sm);
        tm.init();

        LoginManager lm = new LoginManager();
        lm.setGlobalConfig(globalConfig);
        lm.setTokenManager(tm);
        lm.init();

        lm.login(1);
        String token = tm.getToken();
        System.out.println(token);*/


    }
}
